﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Runtime.InteropServices;
using System.Peppers.Win32;

namespace System.Peppers.ShellExtensions
{
    /// <summary>
    /// Base class for ContextMenuItems
    /// </summary>
    public abstract class ContextMenuItemBase
    {
        internal virtual MENUITEMINFO BuildStruct(ref uint id, ContextMenuBase shell)
        {
            MENUITEMINFO info = new MENUITEMINFO();
            info.cbSize = (uint)Marshal.SizeOf(info);
            return info;
        }
    }
}
